TQASetNoticeMethod
A drawing engine must define a method to set the notice method of a draw context.
typedef TQAError (*TQASetNoticeMethod) ( const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod completionCallBack, void *refCon);
drawContext
- A draw context.
method
- A method selector. See "Notice Method Selectors" (page 1-68) for a description of the available method selectors.
completionCallBack
- A pointer to the desired draw context notice method of the specified type. See "Notice Methods" (page 1-147) for information about notice methods.
refCon
- A reference constant for the specified notice method. This value is passed unchanged to the notice method when it is called.
DESCRIPTION
YourTQASetNoticeMethod
function should set the notice method of typemethod
of the draw context specified by thedrawContext
parameter to the function pointed to by thecompletionCallBack
parameter.TQASetNoticeMethod
should also set the reference constant of that method to the value specified by therefCon
parameter.